package com.minshenglife.zanzan.entity.weixin;

import java.util.List;

import com.minshenglife.commons.dal.BaseEntity;

/**
 * 微信素材
 * @author jianghaibo
 *
 */
public class Material extends BaseEntity{

	private String name;			//素材名称
	private String materialType;	//素材类型（text:文本,news:图文,图片:image,音频:voice,视频,video）
	private String content;			//文本内容(类型为text时)
	private String mediaId;			//类型为多媒体时,上传到微信服务器后对应的媒体ID
	private String madiaLocalPath;	//多媒体素材本地存储路径
	private String title;			//当类型为video时,媒体标题
	private String description;		//当类型为video时,媒体描述
	private String subscribe;		//首次关注素材标志("1":是,"0":不是)
	private Long firstArticleId;	// 素材为多图文时,第一行图文id
	private String isSubReply;		//首次关注回复素材是否发布(1:是,0:否) 注:一个账号下只允许有一个值为1,其他都为0.
	private String isQunfa;			//群发消息后保存发送过的素材（1：是，0不是）
	private String msgId;			//群发消息成功后,返回的消息ID
	private String qunfaIsSuccess;	//群发是否成功(1:成功,0:失败)
	private Long createTime;		//群发素材创建时间
	private String appid;			//微信账号appid
	private List<ArticleTodb> articleList;	//图文列表
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMaterialType() {
		return materialType;
	}
	public void setMaterialType(String materialType) {
		this.materialType = materialType;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getMediaId() {
		return mediaId;
	}
	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}
	public String getMadiaLocalPath() {
		return madiaLocalPath;
	}
	public void setMadiaLocalPath(String madiaLocalPath) {
		this.madiaLocalPath = madiaLocalPath;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getSubscribe() {
		return subscribe;
	}
	public void setSubscribe(String subscribe) {
		this.subscribe = subscribe;
	}
	public Long getFirstArticleId() {
		return firstArticleId;
	}
	public void setFirstArticleId(Long firstArticleId) {
		this.firstArticleId = firstArticleId;
	}
	public String getIsSubReply() {
		return isSubReply;
	}
	public void setIsSubReply(String isSubReply) {
		this.isSubReply = isSubReply;
	}
	public String getIsQunfa() {
		return isQunfa;
	}
	public void setIsQunfa(String isQunfa) {
		this.isQunfa = isQunfa;
	}
	public String getMsgId() {
		return msgId;
	}
	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}
	public String getQunfaIsSuccess() {
		return qunfaIsSuccess;
	}
	public void setQunfaIsSuccess(String qunfaIsSuccess) {
		this.qunfaIsSuccess = qunfaIsSuccess;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public List<ArticleTodb> getArticleList() {
		return articleList;
	}
	public void setArticleList(List<ArticleTodb> articleList) {
		this.articleList = articleList;
	}
	
}
